//
//  PCCommentUserModel.m
//  PhotoCircle
//
//  Created by MAC_master on 15/12/21.
//  Copyright © 2015年 wujungao. All rights reserved.
//

#import "PCCommentUserModel.h"

@implementation PCCommentUserModel

-(instancetype)initWithDictionary:(NSDictionary *)dict{
   
    self = [super initWithDictionary:dict];
    if (self) {
        [self initWithDict: dict];
    }
    return self;
}
/*

 "uuid": "def02dfc-553d-4b83-9b41-698150ab70ac",
 "name": "ffffggg",
 "gender": "男",
 "logo": "http://image-staging.mastergolf.cn/sheying/user_logo/c51ec537ed6a2a84b1d158a7cf8435c6.jpg@1e_120w_120h_1c_0i_0o_80Q_1x"
 
 */
-(void)initWithDict:(NSDictionary*)dic
{
    if (dic[@"uuid"] != [NSNull null]) {
        _userId = dic[@"uuid"];
    }
    if (dic[@"name"] != [NSNull null]) {
        _name =  dic[@"name"] ;
    }
    if (dic[@"logo"] != [NSNull null]) {
        _headImgeUrl = dic[@"logo"];
    }
    if (dic[@"logo"] != [NSNull null]) {
        _headImgeUrl = dic[@"logo"];
    }
    
}
@end
